package com.dsideal.cloud.cas.client.constant;

/**
 * @author suny
 * @date 2018/11/27
 */
public interface CasConstants {
    /**
     * CAS Restful API 登录传参：用户名
     */
    String USERNAME_KEY = "username";
    /**
     * CAS Restful API 登录传参：密码
     */
    String PASSWORD_KEY = "password";
    /**
     * CAS Restful API 登录传参：系统标识
     */
    String SYSTEM_CODE_KEY = "code";
    /**
     * CAS Restful API 登录传参：自定义首页地址
     */
    String INDEX_URL_KEY = "indexUrl";
    /**
     * CAS Restful API 登录传参：自定义参数
     */
    String ATTRIBUTES_KEY = "attributes";
    /**
     * CAS Restful API 认证，indexUrl存储于redis的KEY
     */
    String CAS_RESTFUL_API_SERVICE_KEY = "_dsideal_cas_restful_api_service_";
    /**
     * CAS 用户存储于redis的KEY
     */
    String REDIS_USER_CACHE = "_dsideal_cas_user_";
}
